using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class Profiles : MonoBehaviour
{
	public static ProfileData AddProfile(string Name)
	{
		ProfileData pd = new ProfileData();
		pd = ProfileReader.GetProfileByName(Name);
		return pd;
	}

	public static string UpdateDescription(List<ProfileData> profiles, string Name, string Description)
	{
		return profiles.Find(x => x.name == Name).description += "\n\n" + Description;
	}
}